#include <stdio.h>

int Sum(int n)
{
    int i = 0;
    int sum = 0;

    for (; i <= n; i++)
        sum += i;
    return sum;
}

int main()
{
    int result = Sum(100);
    printf("%d\n", result);
    return 0;
}
